// app/shared/[token]/page.tsx

import { SharedFileViewer } from "@/components/file-manager/SharedFileViewer";

export default async function SharedFilePage({
  params,
}: {
  params: Promise<{ token: string }>;
}) {
  const resolvedParams = await params;
  return (
    <div className="min-h-screen bg-gray-50">
      <SharedFileViewer token={resolvedParams.token} />
    </div>
  );
}
